using System.Data.SqlClient;
using System.Data.SQLite;
using dbm2.Model;

namespace dbm2.Syncronizers
{
    public class SyncronizerFactory
    {
        public static Syncronizer CreateSyncronizer(SqlConnection connection, DBModel model)
        {
            return new MSSyncronizer(connection, model);
        }

        public static Syncronizer CreateSyncronizer(SQLiteConnection connection, DBModel model)
        {
            return new SqliteSyncronizer(connection, model);
        }
    }
}